package com.medical.system.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Schema(description = "角色分页对象")
@Data
public class RolePageVO {

    @Schema(description = "角色ID")
    private Long id;

    @Schema(description = "角色名称")
    private String name;

    @Schema(description = "角色代码")
    private String code;

    @Schema(description = "角色状态")
    private Integer status;

    @Schema(description = "角色排序")
    private Integer sort;

    @Schema(description="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    @Schema(description="更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
}
